# from common.webkeyword import WebKeyword
#
#
#
from common.webkeyword import WebKeyword


web=WebKeyword()
class TXAdversiter:

    account='//*[text()=" 批量新建 "]'
    create_button='//*[text()=" 批量新建 "]'
    window_name='腾讯程序化创建 | 山海经'
    url='http://101.126.43.226:8081/?#/promotion/tencent/ad'

    def into_txadversiter_create_interface(self):
        web.sleep("1")
        web.geturl(self.url)
        web.sleep("1")
        web.click(self.create_button)
        web.switchwin(self.window_name)
        web.sleep("1")